<!DOCTYPE html>
<html lang="cn" xmlns:th="http://www.thymeleaf.org">
<head>
    <meta charset="UTF-8">
    <title>首页</title>
<!--    测试拦截器是否放行静态资源-->
    <script type="text/javascript" th:src="@{/js/jquery-3.5.1.js}"></script>
</head>
<body>
<form th:action="@{/login}" method="post">
<h4 th:text="${msg}"></h4>
    账号：<input type="text" name="name"><br>
    密码：<input type="password" name="age">
    <input type="submit">
</form>
</body>
</html>